package com.bwie.pojo.po;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.omg.PortableInterceptor.INACTIVE;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @ 用户/医生实体类
 * @descriptions: UserPo
 * @author: LiYang
 * @date: 2025/3/14 10:11
 * @version: 1.0
 */
@Data
public class UserPo {
    //用户ID
    private Integer userId;
    //用户名
    private String userName;
    private String password;
    //手机号
    private String userPhone;
    //用户等级
    private Integer userGrade;
    private String vercode;
    //性别 0-女1-男
    private Integer sex;
    //出生日期
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date birthDate;
    //身份证号
    private String idCard;
    //年龄
    private Integer age;


}
